@charset "utf-8";

//浏览器ie版本小于10提示框样式
.browsehappy {
    margin: 0.2em 0;
    background: $gray-cc;
    color: $black;
    padding: 0.2em 0;
}

html, body {
    font-family: $font-family;
    font-size: 14px;
    background-color: $white;
    height: 100%;
    overflow: hidden;
}

*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.center-block {
    display: block;
    margin-right: auto;
    margin-left: auto
}

.pull-right {
    float: right !important
}

.pull-left {
    float: left !important
}

.hide {
    display: none !important
}

.show {
    display: block !important
}

.invisible {
    visibility: hidden
}

.text-hide {
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0
}

.hidden {
    display: none !important
}

.affix {
    position: fixed
}

.clearfix {
    zoom: 1;
}
.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}
.clearfix:after {
    clear: both;
}

.font20{
    font-size: 20px;
}

.img-responsive {
    width: 100%;
    height: auto;
}

.lead {
    font-size: 21px
}

.small, small {
    font-size: 85%
}

.mark, mark {
    padding: .2em;
    background-color: #fcf8e3
}

.text-left {
    text-align: left
}

.text-right {
    text-align: right
}

.text-center {
    text-align: center
}

.text-justify {
    text-align: justify
}

.text-nowrap {
    white-space: nowrap
}

.text-lowercase {
    text-transform: lowercase
}

.text-uppercase {
    text-transform: uppercase
}

.text-capitalize {
    text-transform: capitalize
}

.text-muted {
    color: #777
}

.text-primary {
    color: #337ab7
}

a.text-primary:focus, a.text-primary:hover {
    color: #286090
}

.text-success {
    color: #3c763d
}

a.text-success:focus, a.text-success:hover {
    color: #2b542c
}

.text-info {
    color: #31708f
}

a.text-info:focus, a.text-info:hover {
    color: #245269
}

.text-warning {
    color: #8a6d3b
}

a.text-warning:focus, a.text-warning:hover {
    color: #66512c
}

.text-danger {
    color: #a94442
}

a.text-danger:focus, a.text-danger:hover {
    color: #843534
}

.bg-primary {
    color: #fff;
    background-color: #337ab7
}

a.bg-primary:focus, a.bg-primary:hover {
    background-color: #286090
}

.bg-success {
    background-color: #dff0d8
}

a.bg-success:focus, a.bg-success:hover {
    background-color: #c1e2b3
}

.bg-info {
    background-color: #d9edf7
}

a.bg-info:focus, a.bg-info:hover {
    background-color: #afd9ee
}

.bg-warning {
    background-color: #fcf8e3
}

a.bg-warning:focus, a.bg-warning:hover {
    background-color: #f7ecb5
}

.bg-danger {
    background-color: #f2dede
}

a.bg-danger:focus, a.bg-danger:hover {
    background-color: #e4b9b9
}

.page-header {
    padding-bottom: 9px;
    margin: 40px 0 20px;
    border-bottom: 1px solid #eee
}

ol, ul {
    margin-top: 0;
    margin-bottom: 10px
}

ol ol, ol ul, ul ol, ul ul {
    margin-bottom: 0
}

.list-unstyled {
    padding-left: 0;
    list-style: none
}

.list-inline {
    padding-left: 0;
    margin-left: -5px;
    list-style: none
}

.list-inline > li {
    display: inline-block;
    padding-right: 5px;
    padding-left: 5px
}

dl {
    margin-top: 0;
    margin-bottom: 20px
}

dd, dt {
    line-height: 1.42857143
}

dt {
    font-weight: 700
}

dd {
    margin-left: 0
}
::-moz-selection {
    background: #1890ff;
    color: #fff;
}
::selection {
    background: #1890ff;
    color: #fff;
}
/* loading 样式*/
.loadingdiv {
    color: $main-blue-color;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 9999;

    & > div {
        @include size(80px, 80px);
        position: absolute;
        left: 50%;
        top: 50%;
        margin-left: -40px;
        margin-top: -40px;
    }
}

// /* scrollbar */
// ::-webkit-scrollbar {
//     width: 8px;
//     height: 8px;
// }

// /* Track */
// ::-webkit-scrollbar-track {
//     -webkit-box-shadow: inset 0 0 0px rgba(0, 0, 0, 0);
//     -webkit-border-radius: 10px;
//     border-radius: 10px;
// }

// /* Handle */
// ::-webkit-scrollbar-thumb {
//     -webkit-border-radius: 10px;
//     border-radius: 10px;
//     background: #f9f9f9;
//     -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
// }

#container {
    @include size(100%, 100%);
    min-width: 1000px;
    background: repeating-linear-gradient(rgba(244, 244, 244, 0.1), rgba(244, 244, 244, 0.1) 5px, transparent 6px, transparent 73px, rgba(244, 244, 244, 0.1) 74px);
    .containerchild {
        @include size(100%, 100%);
        .hasmain {
            @include size(100%, 100%);
        }
    }
}

#chief {
    @include size(100%, 100%);
    background: repeating-linear-gradient(90deg, rgba(244, 244, 244, 0.1), rgba(244, 244, 244, 0.1) 5px, transparent 6px, transparent 73px, rgba(244, 244, 244, 0.1) 74px);
    position: relative;
    overflow: hidden;
}

/**自定义的人员头像样式**/
.ml-entity-photo{
    .ml-item-photo{
        background-color:$data-default-bg-color;
    }

    &.data-person{
        &.ml-entity-photo .ml-item-photo{
            background-color:$data-person-bg-color;
        }
    }

    &.data-person.female{
        &.ml-entity-photo .ml-item-photo{
            background-color:$data-person-female-bg-color;
        }
    }
    &.event{
        width:60px;
        height:60px;
        .ml-item-photo{
            background-color:$graph-event-bg-color;
        }
    }
}

.full-height{
    height: 100%;
}

.error input, input.error, .section-select.error>div{
    border-color: $red;
}

.section-select.required {
    &:after {
        position: absolute;
        content: '*';
        right: 35px;
        top: 18px;
        transform: translateY(-50%);
        z-index: 9;
        display: block;
        color: $red;
        font-size: 14px;
    }
}

